package com.swak.consistency.reliablemsg.domain;

import java.time.LocalDateTime;

import com.alibaba.fastjson.annotation.JSONField;
import com.swak.Constants;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * ReliableMsgDTO.
 * 
 * @author 618lf
 */
@Data
@Accessors(chain = true)
public class ReliableMsgDTO {
	private Long msgId;
	private Integer phase;
	private Integer retryTimes;
	private Integer maxRts;
	private Integer version;
	@JSONField(format = Constants.Second_Format)
	private LocalDateTime createTime;
	@JSONField(format = Constants.Second_Format)
	private LocalDateTime updateTime;
	private String queue;
	private String filter;
	private String queueType;
}